//
//  MenuTableViewCell.m
//  grainHouse
//
//  Created by zzxcc on 14-10-16.
//  Copyright (c) 2014年 zzxcc. All rights reserved.
//

#import "MenuTableViewCell.h"



@implementation MenuTableViewCell


- (void)awakeFromNib {
    // Initialization code
}

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(70, 0, 100, 50)];
        _label.font = [UIFont systemFontOfSize:14];
        _label.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_label];
        [_label release];
        
        self.view = [[UIImageView alloc] initWithFrame:CGRectMake(25, 15, 20, 20)];
        
        [self.contentView addSubview:_view];
        [_view release];
        
    }
    return self;
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
